import Main from '@/views/layout/Main'

const deviceRouter = {
    path: '/device',
    component: Main,
    redirect: '/device/list',
    name: 'device',
    hidden: true,
    mete: {
        title: '设备管理'
    },
    children: [
        {
            path: 'general',
            component: () => import('@/views/device/DeviceGeneral')
        },
        {
            path: 'list',
            component: () => import('@/views/device/DeviceList')
        },
        {
            path: 'maintenance',
            component: () => import('@/views/device/DeviceMaintenance')
        },
    ]
};

export default deviceRouter
